@charset "UTF-8";
body {
    text-align: center;
}

input[type=checkbox],
input[type=radio] {
    cursor: pointer;
}

input[type=checkbox]+label,
input[type=radio]+label {
    cursor: pointer;
}

#loadingPage,
.game-statistics {
    margin: 150px auto 0px auto;
}

.game-statistics {
    display: inline-block;
    font-size: 14px;
    text-align: left;
}

.game-statistics input {
    margin: 0px 1px 3px 4px;
    vertical-align: middle;
}

.game-statistics label {
    display: inline-block;
    text-align: left;
}

.game-statistics .wide {
    width: 120px;
}

.game-statistics .narrow {
    width: 70px;
}

.game-container {
    margin: 0px auto;
    padding: 3px;
    border: 5px solid #fff;
    background-color: #CECECE;
    text-align: center;
    font-size: 12px;
    display: inline-block;
    vertical-align: top;
}

#loadingPage {
    font-weight: bold;
}

#loadingPage img {
    width: 240px;
}

.hide {
    display: none;
}

#gamePage .solid-border-down table input {
    border: 0px;
    margin: 0px;
    padding: 0px;
    cursor: pointer;
    background-color: #CECECE;
    vertical-align: middle;
}

#gamePage .header tr td:first-child {
    width: 32px;
}

#gamePage .header tr td:last-child {
    width: 150px;
}

#gamePage .header,
#gamePageHelper .header {
    width: 100%;
}

#gamePage .header label {
    width: 30px;
    display: inline-block;
    text-align: left;
}

#gamePageHelper .header h3 {
    display: inline-block;
    margin: 4px;
}

#gamePageHelper .header input {
    margin: 0 0 0 6px;
    vertical-align: middle;
}

#gamePageHelper .header label {
    vertical-align: middle;
    margin: -2px 0 0 2px;
}

.game-container .count-box {
    width: 26px;
    height: 20px;
    line-height: 20px;
    background: #000;
    color: red;
    text-align: center;
    margin: auto;
}


/* status-img : 表示游戏状态的图片 */

.game-container .status-img {
    border: 0;
    width: 22px;
    height: 22px;
    cursor: pointer;
    padding-top: 3px;
    margin-left: 15%;
}

.game-container .solid-border-down {
    border: 2px solid #848484;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
}

.game-container .mine-field {
    margin: 8px 0 0 0;
}

.game-container .mine-field td {
    border-width: 2px;
    border-style: solid;
    border-left-color: #fff;
    border-top-color: #fff;
    border-right-color: #848484;
    border-bottom-color: #848484;
    padding: auto;
    cursor: pointer;
    overflow: hidden;
}

.game-container .mine-field td.onbump {
    border-width: 1px;
    border-color: #B4B4B4;
    -moz-user-select: none;
    /*火狐*/
    -webkit-user-select: none;
    /*webkit浏览器*/
    -ms-user-select: none;
    /*IE10*/
    -khtml-user-select: none;
    /*早期浏览器*/
    user-select: none;
}

.game-container .mine-field .helpline {
    outline: 1px dashed red;
}

.game-container .small td {
    width: 26px;
    height: 26px;
}

.game-container .small td.onbump {
    width: 28px;
    height: 28px;
}

.game-container .middle td {
    width: 28px;
    height: 28px;
}

.game-container .middle td.onbump {
    width: 30px;
    height: 30px;
}

.game-container .large td {
    width: 30px;
    height: 30px;
}

.game-container .large td.onbump {
    width: 32px;
    height: 32px;
}

.game-container .mine-field td.on1 {
    color: #00CD00;
}

.game-container .mine-field td.on2 {
    color: #00BFFF;
}

.game-container .mine-field td.on3 {
    color: #CD0000;
}

.game-container .mine-field td.on4 {
    color: #BF3EFF;
}

.game-container .mine-field td.on5 {
    color: #8B0000;
}

.game-container .mine-field td.on6 {
    color: #C71585;
}

.game-container .mine-field td.on7 {
    color: #CDCD00;
}

.game-container .mine-field td.on8 {
    color: #000000;
}

.game-container .mine-field td.flag {
    background: url("image/flag.gif") no-repeat center;
}

.game-container .mine-field td.diLei {
    background: url("image/mine.gif") no-repeat center;
}

.game-container .mine-field td.boom {
    background-color: red;
}

.game-container .mine-field td.diLei.flag {
    background-image: url("image/flag.gif"), url("image/mine.gif");
    background-position: right, left;
    background-repeat: no-repeat, no-repeat;
}